package models;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import play.db.jpa.Model;

@Entity
public class CourseRequest extends Model
{
	@ManyToOne
	public Student student;

	@ManyToOne
	public Tutorial tutorial;

	public CourseRequest( Tutorial tut, Student connected )
	{
		this.tutorial = tut;
		this.student = connected;
	}
}
